package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishItemVO;
import com.sky.vo.DishVO;

import java.util.List;

public interface Dishservice {
    PageResult page(DishPageQueryDTO dishDTO);

    void sevetAndFlavor(DishDTO dishDTO);


    void removeBatch(List<Long> ids);

    DishVO queryById(Long id);

    void update(DishDTO dishDTO);

    void updateStatus(Integer status, Long id);


    List<DishItemVO> listByCategoryId1(Long id);

    List<DishVO> listByCategoryId(Long categoryId);

}
